﻿<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="ProductListImage.aspx.cs"
    Inherits="TangPhu.Admin.Page.ProductListImage" Title="Untitled Page" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlacebody" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div style="color: Red">
        <asp:Label ID="lblErr" runat="server" Text=""></asp:Label>
        <br />
        <asp:HiddenField ID="hdProductID" runat="server" />
        <asp:HiddenField ID="hdIDImage" runat="server" />
        <asp:HiddenField ID="hdNewID" runat="server" />
    </div>
    <table style="width: 100%;">
        <tr>
            <td>
            </td>
            <td>
            </td>
        </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" width="743">
        <tr>
            <td style="height: 22px">
                <img alt="" height="22" src="../../images/white.gif" style="float: left;" width="60" />
            </td>
            <td style="height: 22px">
                <img alt="" height="22" src="../../images/cornerLeftTop.gif" style="float: left;"
                    width="50" />
            </td>
            <td style="height: 22px">
                <img alt="" height="22" src="../../images/topLeft.gif" style="float: left;" width="292" />
            </td>
            <td style="height: 22px">
                <img alt="" height="22" src="../../images/topRight.gif" style="float: left;" width="280" />
            </td>
            <td style="height: 22px">
                <img alt="" height="22" src="../../images/cornerRightTop.gif" style="float: left;"
                    width="62" />
            </td>
        </tr>
        <tr>
            <td>
                <img alt="" height="243" src="../../images/whiteMiddle.gif" style="float: left;"
                    width="60" />
            </td>
            <td>
                <img alt="" height="243" src="../../images/leftFrame.gif" style="float: left;" width="50" />
            </td>
            <td class="previewPane">
                <div style="margin-top: 20px">
                    <asp:Image ID="imagePreview" runat="server" AlternateText="preview" BorderWidth="0"
                        Height="192px" ImageUrl="../../images/spacer.gif" Width="272px"></asp:Image></div>
            </td>
            <td class="infoPane">
                <div id="detailsPanel" runat="server" class="infoPaneBg">
                    <div>
                        Name:
                        <asp:TextBox ID="txtNameVN" runat="server"></asp:TextBox>
                    </div>
                    <div>
                        Other name:
                        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                    </div>
                    <div>
                        <asp:Label ID="Label17" runat="server" Text=" Small Image"></asp:Label><asp:FileUpload
                            ID="FileUpload_image" runat="server" /></div>
                    <div>
                        <asp:Label ID="Label1" runat="server" Text=" Larg Image"></asp:Label>
                        <asp:FileUpload ID="FileUpload_image_large" runat="server" /></div>
                    <div>
                    </div>
                    <div>
                        <asp:Button ID="bt_addImage" runat="server" OnClick="Button12_Click" Text="Add" Width="120px" /><asp:Button
                            ID="bt_removeImage" runat="server" OnClick="Button14_Click" Text="Delete" /></div>
                </div>
            </td>
            <td>
                <img alt="" height="243" src="../../images/rightFrame.gif" style="float: left;" width="62" />
            </td>
        </tr>
        <tr>
            <td>
                <img alt="" height="117" src="../../images/whiteShadow.gif" width="60" />
            </td>
            <td>
                <img id="img_left" alt="" height="117" src="../../images/left.gif" style="cursor: pointer"
                    width="50" />
            </td>
            <td class="thumbsViewer" colspan="2">
                <telerik:RadRotator ID="thumbRotator" runat="server" FrameDuration="1" Height="110px"
                    ItemHeight="110px" ItemWidth="110px" OnItemClick="ShowImage" RotatorType="Buttons"
                    Width="572px" Skin="Office2007">
                    <ItemTemplate>
                        <div class="itemTemplate">
                            <img alt="<%# DataBinder.Eval(Container.DataItem,"NAMEVN") %>" class="RotatorImage"
                                src='/Uploads/Images/<%# DataBinder.Eval(Container.DataItem,"IMG") %>' height="80px"
                                width="80px" />
                        </div>
                    </ItemTemplate>
                    <ControlButtons LeftButtonID="img_left" RightButtonID="img_right" />
                </telerik:RadRotator>
            </td>
            <td>
                <img id="img_right" alt="" height="117" src="../../images/right.gif" style="cursor: pointer"
                    width="62" />
            </td>
        </tr>
    </table>
</asp:Content>
